if ENABLE_PROTOCOL_GADU

ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
BUILD_DIR = ../../build/
ASSEMBLY_NAME=Galaxium.Protocol.GaduGadu.GtkGui
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	$(GLADE_SHARP_LIBS) \
	$(GLIB_SHARP_LIBS) \
	$(GTK_SHARP_LIBS) \
	-pkg:anculus-core \
	-pkg:anculus-gui \
	-pkg:mono-addins \
	-r:../../build/Galaxium.Client.dll \
	-r:../../build/Galaxium.Core.dll \
	-r:../../build/Galaxium.Gui.dll \
	-r:../../build/Galaxium.Gui.GtkGui.dll \
	-r:../../build/Galaxium.Protocol.dll \
	-r:../../build/Galaxium.Protocol.GaduGadu.dll \
	-r:../../build/Galaxium.Protocol.Gui.dll \
	-r:System.Web \
	-r:System.Xml

RESOURCES =  \
	Galaxium.Protocol.GaduGadu.GtkGui.addin \
	Resources/small_galaxium-gadugadu.png 
EXTRAS = 
DATA_FILES = 

FILES =  \
	Commands/ContactMenuCommands.cs \
	Commands/ConversationInputToolbarCommands.cs \
	Commands/ConversationMenuCommands.cs \
	Commands/ConversationToolbarCommands.cs \
	Commands/SessionMenuCommands.cs \
	Commands/ViewMenuCommands.cs \
	ContactListTooltip.cs \
	GaduAccountWidget.cs \
	GaduChatWidget.cs \
	GaduContactTreeManager.cs \
	GaduProtocolFactory.cs \
	GaduSessionWidget.cs \
	Preferences/GaduPreferenceWidget.cs \
	Utilities/GaduWidgetUtility.cs

GENERATED_FILES = AssemblyInfo.cs

all: $(ASSEMBLY)

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) 
	mkdir -p $(dir $(ASSEMBLY))		
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include

else
endif
